function msvalue(num)
load('orthbase');

time=linspace(0,0.5,num+1);

msval=zeros(num+1,100);
wsval=zeros(num+1,100);
nsval=zeros(num+1,100);
for ii=1:num+1
    for jj=1:100
        msval(ii,jj)=ms{jj}(time(ii));
        wsval(ii,jj)=ws{jj}(time(ii));
        nsval(ii,jj)=ns{jj}(time(ii));
    end
end

fname='msval';
save(fname,'msval','wsval','nsval');
